package com.swpu.eduorder.clients;

import com.swpu.commonutils.CourseWebVoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 功能描述：
 *
 * @Author: ygq
 * @Date: 2021/10/30 22:17
 */
@Component
@FeignClient(name = "service-edu")
public interface EduClient {
    @PostMapping("/eduservice/coursefront/getCourseInfo/{id}")
    public CourseWebVoOrder getInfo(@PathVariable("id") String id);
}
